package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 牵头建设的部省级重点研究基地对象 t_head_yj
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class THeadYj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 基地名称 */
    @Excel(name = "基地名称")
    private String name;

    /** 基地建设经费(万元) */
    @Excel(name = "基地建设经费(万元)")
    private BigDecimal jsMoney;

    /** 基地类型 */
    @Excel(name = "基地类型")
    private String type;

    /** 主管单位 */
    @Excel(name = "主管单位")
    private String unit;

    /** 负责人 */
    @Excel(name = "负责人")
    private String leader;

    /** 成立年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 绩效评估情况 */
    @Excel(name = "绩效评估情况")
    private String pg;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String pName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String pNo;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String pLeader;

    /** 项目来源 */
    @Excel(name = "项目来源")
    private String pSource;

    /** 项目经费(万元) */
    @Excel(name = "项目经费(万元)")
    private BigDecimal pMoney;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setJsMoney(BigDecimal jsMoney) 
    {
        this.jsMoney = jsMoney;
    }

    public BigDecimal getJsMoney() 
    {
        return jsMoney;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setPg(String pg) 
    {
        this.pg = pg;
    }

    public String getPg() 
    {
        return pg;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setpNo(String pNo) 
    {
        this.pNo = pNo;
    }

    public String getpNo() 
    {
        return pNo;
    }
    public void setpLeader(String pLeader) 
    {
        this.pLeader = pLeader;
    }

    public String getpLeader() 
    {
        return pLeader;
    }
    public void setpSource(String pSource) 
    {
        this.pSource = pSource;
    }

    public String getpSource() 
    {
        return pSource;
    }
    public void setpMoney(BigDecimal pMoney) 
    {
        this.pMoney = pMoney;
    }

    public BigDecimal getpMoney() 
    {
        return pMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("jsMoney", getJsMoney())
            .append("type", getType())
            .append("unit", getUnit())
            .append("leader", getLeader())
            .append("startTime", getStartTime())
            .append("pg", getPg())
            .append("pName", getpName())
            .append("pNo", getpNo())
            .append("pLeader", getpLeader())
            .append("pSource", getpSource())
            .append("pMoney", getpMoney())
            .toString();
    }
}
